gtk4.git
15 years agoAdapt to the GDK_KEY changes
Tor Lillqvist [Thu, 9 Sep 2010 11:35:20 +0000 (14:35 +0300)]
Adapt to the GDK_KEY changes

15 years agoFixed GtkTextView & GtkIconView to consult it's true previous size request
Tristan Van Berkom [Thu, 9 Sep 2010 07:27:22 +0000 (16:27 +0900)]
Fixed GtkTextView & GtkIconView to consult it's true previous size request

Fixed issues in my previous patch for bug 626939 removing GtkRequisition
cache: these widgets monitor the previous requested size and decide whether
to queue a resize when the content changes based on it's prior request.

15 years agoMoved GtkSizeRequest cache to GtkWidget->priv
Tristan Van Berkom [Thu, 9 Sep 2010 06:02:56 +0000 (15:02 +0900)]
Moved GtkSizeRequest cache to GtkWidget->priv

Now that we have a private data installed directly on
the GtkWidget instance it makes no sense to cache the size
requests on widget qdata. This change will generally make
GTK+ memory less fragmented as well as significantly speed
up the size request process.

15 years agoUse accessor functions in Win32-only code
Tor Lillqvist [Thu, 9 Sep 2010 08:09:55 +0000 (11:09 +0300)]
Use accessor functions in Win32-only code

15 years agoDon't use the same name for a function that used to be a variable
Tor Lillqvist [Thu, 9 Sep 2010 08:03:22 +0000 (11:03 +0300)]
Don't use the same name for a function that used to be a variable

Rename the gtk_major_version() etc functions I introduced yesterday to
start with gtk_get. Avoids misleading results in client programs whose
developers that don't notice the change or the compiler warnings, and
when recompiling against gtk3 then use the function addresses as the
version numbers.

15 years agoFix build of gail after GtkItem removal
Matthias Clasen [Thu, 9 Sep 2010 04:51:08 +0000 (00:51 -0400)]
Fix build of gail after GtkItem removal

15 years ago Remove GtkItem
Matthias Clasen [Thu, 9 Sep 2010 03:35:17 +0000 (23:35 -0400)]
 Remove GtkItem

With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
derived class, and is not really adding any value as a separate class.
Its few useful features have been merged into GtkMenuItem.

Bug 629104

15 years agogtk/gtkhandlebox.c: Do not use gdk_window_get_deskrelative_origin()
Javier Jardón [Thu, 9 Sep 2010 00:25:25 +0000 (02:25 +0200)]
gtk/gtkhandlebox.c: Do not use gdk_window_get_deskrelative_origin()

This completes commit bd277fad50704f6a39619cb418204bdfee112b98

15 years agoporting guide: Update to mention GDK_KEY_ transition
Colin Walters [Wed, 8 Sep 2010 22:25:52 +0000 (18:25 -0400)]
porting guide: Update to mention GDK_KEY_ transition

15 years agoGDK: Prefix key names with KEY_
Colin Walters [Wed, 8 Sep 2010 17:35:51 +0000 (13:35 -0400)]
GDK: Prefix key names with KEY_

The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.

For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.

Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.

15 years agogdk: Update gdkkeysyms.h
Colin Walters [Wed, 8 Sep 2010 16:58:20 +0000 (12:58 -0400)]
gdk: Update gdkkeysyms.h

In preparation for adding a namespace prefix for introspection.

15 years agoRemove deprecated gdk_window_get_deskrelative_origin() and its implementations
Javier Jardón [Wed, 8 Sep 2010 22:18:42 +0000 (00:18 +0200)]
Remove deprecated gdk_window_get_deskrelative_origin() and its implementations

15 years agoDrop GDK_DEBUG_GC and _IMAGE as GDK doesn't do that any more
Tor Lillqvist [Wed, 8 Sep 2010 22:08:21 +0000 (01:08 +0300)]
Drop GDK_DEBUG_GC and _IMAGE as GDK doesn't do that any more

15 years agoRemove a duplicate variable
Mike Gorse [Wed, 8 Sep 2010 21:55:28 +0000 (17:55 -0400)]
Remove a duplicate variable

Bug#629110: gtk_spinner_accessible_get_type always returns null

15 years agoUse G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
Javier Jardón [Wed, 8 Sep 2010 21:42:25 +0000 (23:42 +0200)]
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()

15 years agodocs: Remove GtkFileSelection deprecated docs
Javier Jardón [Wed, 8 Sep 2010 20:58:03 +0000 (22:58 +0200)]
docs: Remove GtkFileSelection deprecated docs

15 years agoGtkWidget: Move public members to private structure
Javier Jardón [Sat, 14 Aug 2010 18:42:20 +0000 (20:42 +0200)]
GtkWidget: Move public members to private structure

15 years agogtk/gtknotebook.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 8 Sep 2010 06:03:14 +0000 (08:03 +0200)]
gtk/gtknotebook.c: use accessor functions to access GtkWidget

15 years agogtk/gtkarrow.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:18:48 +0000 (23:18 +0200)]
gtk/gtkarrow.c: use accessor functions to access GtkWidget

15 years agogtk/gtkpathbar.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:05:51 +0000 (23:05 +0200)]
gtk/gtkpathbar.c: use accessor functions to access GtkWidget

15 years agogtk/gtkruler.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:02:44 +0000 (23:02 +0200)]
gtk/gtkruler.c: use accessor functions to access GtkWidget

15 years agogtk/gtkseparator.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:01:16 +0000 (23:01 +0200)]
gtk/gtkseparator.c: use accessor functions to access GtkWidget

15 years agogtk/gtkhandlebox.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:11:25 +0000 (23:11 +0200)]
gtk/gtkhandlebox.c: use accessor functions to access GtkWidget

15 years agogtk/gtkiconview.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:10:57 +0000 (23:10 +0200)]
gtk/gtkiconview.c: use accessor functions to access GtkWidget

15 years agogtk/gtkimage.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:10:44 +0000 (23:10 +0200)]
gtk/gtkimage.c: use accessor functions to access GtkWidget

15 years agogtk/gtkmenu.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:08:37 +0000 (23:08 +0200)]
gtk/gtkmenu.c: use accessor functions to access GtkWidget

15 years agogtk/gtkmisc.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:07:02 +0000 (23:07 +0200)]
gtk/gtkmisc.c: use accessor functions to access GtkWidget

15 years agogtk/gtkspinbutton.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 21:00:21 +0000 (23:00 +0200)]
gtk/gtkspinbutton.c: use accessor functions to access GtkWidget

15 years agogtk/gtktextview.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 20:52:28 +0000 (22:52 +0200)]
gtk/gtktextview.c: use accessor functions to access GtkWidget

15 years agogtk/gtktreeview.c: use accessor functions to access GtkWidget
Javier Jardón [Wed, 11 Aug 2010 20:50:44 +0000 (22:50 +0200)]
gtk/gtktreeview.c: use accessor functions to access GtkWidget

15 years agogtk/gtkwindow.c: Fix warning
Javier Jardón [Wed, 8 Sep 2010 18:12:26 +0000 (20:12 +0200)]
gtk/gtkwindow.c: Fix warning

Cast to GtkSizeRequest

This was added in
commit b654afcb480c4f971436bd82a7b20f86686a9c02

15 years agoGet rid of the rest of variables exported from libgtk
Tor Lillqvist [Wed, 8 Sep 2010 17:33:30 +0000 (20:33 +0300)]
Get rid of the rest of variables exported from libgtk

Especially the gtk_*_type ones in gtktexttypes.h were mentioned in
gtk.symbols presumably by accident. That header isn't even installed,
so no way can they be supposed to be public.

gtk_text_attr_appearance_type is from the installed but "semi-private"
gtktextlayout.h, so drop that one too from gtk.symbols for now.

The use of gtk_text_unknown_char_utf8 is bit of a mess. Code in a few
files knew implicitly that it is three bytes. Define a symbolic name
for the length of it instead. Add an exported function
gtk_text_unknown_char_utf8_gtk_tests_only() that returns a pointer to
it just for the sake of gtk/tests/textbuffer.c. Prefix the variable
with an underscore.

I doubt the usefulness of the test_utf8() in textbuffer.c. If it could
be dropped, gtk_text_unknown_char_utf8_gtk_tests_only() could be
dropped, too.

15 years agoReplace gtk_debug_flags with getter and setter functions
Tor Lillqvist [Wed, 8 Sep 2010 15:17:57 +0000 (18:17 +0300)]
Replace gtk_debug_flags with getter and setter functions

Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.

15 years agoRemove also the docs for the gdk_threads_mutex variable
Tor Lillqvist [Wed, 8 Sep 2010 14:39:02 +0000 (17:39 +0300)]
Remove also the docs for the gdk_threads_mutex variable

15 years agoTurn the gtk version and age variables into functions
Tor Lillqvist [Wed, 8 Sep 2010 14:36:10 +0000 (17:36 +0300)]
Turn the gtk version and age variables into functions

Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.

15 years agogtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
Javier Jardón [Wed, 8 Sep 2010 17:40:07 +0000 (19:40 +0200)]
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()

15 years agoCompletely removed requisition cache from GtkWidget instance structure.
Tristan Van Berkom [Tue, 7 Sep 2010 22:25:47 +0000 (00:25 +0200)]
Completely removed requisition cache from GtkWidget instance structure.

Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
it makes no sense to maintain this cache on the GtkWidget structure...
removing the requisition cache however does not break the old "size-request"
signal which is there for backwards compatability reasons.

In any case widget->requisition should not have been accessed,
gtk_widget_get_child_requisition() would have been the correct way
to consult the cache.

This commit also deprecates the newly added gtk_widget_get_requisition()
API and makes it fallback on gtk_size_request_get_size().

15 years agotests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()
Javier Jardón [Wed, 8 Sep 2010 16:39:36 +0000 (18:39 +0200)]
tests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()

15 years agogtknotebook: Do not mention deprecated API
Javier Jardón [Wed, 8 Sep 2010 15:46:11 +0000 (17:46 +0200)]
gtknotebook: Do not mention deprecated API

15 years agodemos: Do not use deprecated API
Javier Jardón [Wed, 8 Sep 2010 15:45:51 +0000 (17:45 +0200)]
demos: Do not use deprecated API

15 years agogtksocket: Remove mention to gtk_socket_steal() deprecated function
Javier Jardón [Wed, 8 Sep 2010 15:14:37 +0000 (17:14 +0200)]
gtksocket: Remove mention to gtk_socket_steal() deprecated function

15 years agoDo not use deprecated API in docs and examples
Javier Jardón [Wed, 8 Sep 2010 15:10:07 +0000 (17:10 +0200)]
Do not use deprecated API in docs and examples

gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead

15 years agoRemove variables from the platform-independent GDK API
Tor Lillqvist [Wed, 8 Sep 2010 12:55:45 +0000 (15:55 +0300)]
Remove variables from the platform-independent GDK API

gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed
from public API. gdk_threads_mutex was deprecated already. Instead of
using gdk_threads_lock and _unlock one was presumably supposed to use
the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the
corresponding gdk_threads_enter() and _leave() functions.

Remove he dllimport/dllexport ugliness for GDK for Windows.

There is still a gdk_display variable being exported by the X11
backend.

15 years agogtk.symbols: Update expected ABI
Colin Walters [Tue, 7 Sep 2010 18:16:43 +0000 (14:16 -0400)]
gtk.symbols: Update expected ABI

15 years agoFix annotations for gdk_window_get_device_position()
Owen W. Taylor [Tue, 7 Sep 2010 17:58:36 +0000 (13:58 -0400)]
Fix annotations for gdk_window_get_device_position()

Add (out) and (transfer none) as appropriate

15 years agoadd annotations for tranfer and scope so that methods are exported by GI
John (J5) Palmieri [Tue, 7 Sep 2010 17:50:40 +0000 (13:50 -0400)]
add annotations for tranfer and scope so that methods are exported by GI

15 years agoadd array annotation to gtk_builder_add_objects_from_string
John (J5) Palmieri [Tue, 7 Sep 2010 16:06:29 +0000 (12:06 -0400)]
add array annotation to gtk_builder_add_objects_from_string

15 years agoadd gtk_radio_button_join_group method for bindings
John (J5) Palmieri [Tue, 7 Sep 2010 02:55:03 +0000 (22:55 -0400)]
add gtk_radio_button_join_group method for bindings

* this mirrors the committed change for gtk_radio_action_join_group in
  commit 85b53969b24d318b219663841e678943516f443a
* Due to object ownership issues it is impossible to correctly use
  get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
  GtkRadioButton objects and not with the list of objects that gets
  modified in the library

https://bugzilla.gnome.org/show_bug.cgi?id=628935

15 years agoRemoved x/y/x_set/y_set from GtkWidgetAuxInfo
Tristan Van Berkom [Tue, 7 Sep 2010 07:21:44 +0000 (16:21 +0900)]
Removed x/y/x_set/y_set from GtkWidgetAuxInfo

These members of GtkWidgetAuxData can no longer be set after
the removal of deprecated gtk_widget_set_uposition(), now removed
these members completely and removed the access to them from
gtk_widget_size_allocate().

15 years agoRemoved _gtk_window_reposition()
Tristan Van Berkom [Tue, 7 Sep 2010 06:45:15 +0000 (15:45 +0900)]
Removed _gtk_window_reposition()

_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).

15 years agoUse a bitfield for Widget::private_flags, ::state, ::saved_state
Havoc Pennington [Mon, 6 Sep 2010 23:15:51 +0000 (19:15 -0400)]
Use a bitfield for Widget::private_flags, ::state, ::saved_state

This recovers 10 bits, since state and saved_state as uint8 both
wasted 5 bits. Now we can add 10 more flags.

Also, a possible future patch could just do 1-bit bitfields
for the private flags instead of using manual bit twiddling.

https://bugzilla.gnome.org/show_bug.cgi?id=628884

15 years agoAvoid segfault on xkbless systems
Matthias Clasen [Tue, 7 Sep 2010 04:10:26 +0000 (00:10 -0400)]
Avoid segfault on xkbless systems

This was reported in bug 628932 to cause problems on VNC.

15 years agoUpdated Portuguese translation
Duarte Loreto [Mon, 6 Sep 2010 23:51:47 +0000 (00:51 +0100)]
Updated Portuguese translation

15 years agoUpdated Slovenian translation
Klemen Košir [Mon, 6 Sep 2010 14:47:25 +0000 (16:47 +0200)]
Updated Slovenian translation

15 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Mon, 6 Sep 2010 04:28:05 +0000 (10:28 +0600)]
Updated Kazakh translation

15 years agoRemove use of ::has-separator property
Matthias Clasen [Mon, 6 Sep 2010 04:26:17 +0000 (00:26 -0400)]
Remove use of ::has-separator property

15 years agoRemove some unused enums
Matthias Clasen [Mon, 6 Sep 2010 03:55:47 +0000 (23:55 -0400)]
Remove some unused enums

The GtkAnchorType and GtkVisibility enums are not used anywhere,
so remove them.

15 years agoWarn if a widget requests minimum size > natural size
Havoc Pennington [Mon, 6 Sep 2010 01:46:22 +0000 (21:46 -0400)]
Warn if a widget requests minimum size > natural size

Since this makes no sense and there's no reason we should
have to check for it elsewhere just in case some widget is
busted.

https://bugzilla.gnome.org/show_bug.cgi?id=628808

15 years agoAdd more "reserved for expansion" fields to GtkWidgetClass
Havoc Pennington [Mon, 6 Sep 2010 01:42:35 +0000 (21:42 -0400)]
Add more "reserved for expansion" fields to GtkWidgetClass

Only 3 were left. 3.x cycle may need more.

https://bugzilla.gnome.org/show_bug.cgi?id=628807

15 years agoUpdated French translation
Claude Paroz [Sat, 4 Sep 2010 21:21:19 +0000 (23:21 +0200)]
Updated French translation

15 years agoGtkStatusIcon: Remove get/set_blinking() declarations from header.
Murray Cumming [Sat, 4 Sep 2010 11:18:09 +0000 (13:18 +0200)]
GtkStatusIcon: Remove get/set_blinking() declarations from header.

This was apparently forgotten in
commit 18b47b6cd03f0f6da777ad3a5e2795cbf458b804 .

15 years agoMS Windows engine: draw elements in the right place.
Martin Schlemmer [Fri, 3 Sep 2010 20:18:21 +0000 (22:18 +0200)]
MS Windows engine: draw elements in the right place.
Work in progress, still remains to be solved the problem of clipping.

15 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 3 Sep 2010 17:16:38 +0000 (19:16 +0200)]
Updated Slovenian translation

15 years agoDon't leak display name
Matthew Barnes [Fri, 3 Sep 2010 16:48:50 +0000 (12:48 -0400)]
Don't leak display name

Bug 628656 - _gdk_windowing_get_startup_notify_id memory leak

get_display_name() returns a newly allocated string, which was being fed
directory info a g_strdup_printf() call.

15 years agostyle: Use gtk_widget_get_state() for the entry background
Benjamin Otte [Fri, 3 Sep 2010 15:09:00 +0000 (17:09 +0200)]
style: Use gtk_widget_get_state() for the entry background

New code sets the entry background to GTK_STATE_ACTIVE when it has focus
and the active color in the default theme looks rather bad.

15 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Fri, 3 Sep 2010 15:06:48 +0000 (18:06 +0300)]
[l10n] Updated Estonian translation

15 years agoentry: Use the same state for the flat box of text area and icons
Benjamin Otte [Fri, 3 Sep 2010 15:01:06 +0000 (17:01 +0200)]
entry: Use the same state for the flat box of text area and icons

15 years agox11: Unused variable
Benjamin Otte [Fri, 3 Sep 2010 11:39:24 +0000 (13:39 +0200)]
x11: Unused variable

15 years agorange: Unused variable
Benjamin Otte [Fri, 3 Sep 2010 11:39:10 +0000 (13:39 +0200)]
range: Unused variable

15 years agowindow: Use brackets to silence gcc
Benjamin Otte [Fri, 3 Sep 2010 11:38:55 +0000 (13:38 +0200)]
window: Use brackets to silence gcc

15 years agotests: Remove all code relating to the blink menu item
Benjamin Otte [Fri, 3 Sep 2010 11:38:29 +0000 (13:38 +0200)]
tests: Remove all code relating to the blink menu item

15 years agoDocument --disable-Bsymbolic option
Matthias Clasen [Fri, 3 Sep 2010 02:56:41 +0000 (22:56 -0400)]
Document --disable-Bsymbolic option

15 years agoRemove unused --disable-visibility option
Matthias Clasen [Fri, 3 Sep 2010 02:56:15 +0000 (22:56 -0400)]
Remove unused --disable-visibility option

15 years agoJust use TrackMouseEvent directly
Tor Lillqvist [Thu, 2 Sep 2010 21:13:36 +0000 (00:13 +0300)]
Just use TrackMouseEvent directly

TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.

15 years agogtk-demo: Drop use of GTK_DIALOG_NO_SEPARATOR
Colin Walters [Thu, 2 Sep 2010 20:48:45 +0000 (16:48 -0400)]
gtk-demo: Drop use of GTK_DIALOG_NO_SEPARATOR

Commit d433a606111d89727530f71d7b956b dropped this API.

15 years agoUpdated Slovenian translation
Klemen Košir [Thu, 2 Sep 2010 16:24:32 +0000 (18:24 +0200)]
Updated Slovenian translation

15 years agoOops, make the MS Windows theme really compile.
Fridrich Štrba [Thu, 2 Sep 2010 13:33:10 +0000 (15:33 +0200)]
Oops, make the MS Windows theme really compile.

15 years agoRemove blinking from status icons
Matthias Clasen [Thu, 2 Sep 2010 13:37:06 +0000 (09:37 -0400)]
Remove blinking from status icons

This feature was just a bad idea.

15 years agoAdapt docs to dialog api changes
Matthias Clasen [Thu, 2 Sep 2010 13:35:50 +0000 (09:35 -0400)]
Adapt docs to dialog api changes

15 years agoAdapt tests to dialog api change
Matthias Clasen [Thu, 2 Sep 2010 13:31:54 +0000 (09:31 -0400)]
Adapt tests to dialog api change

15 years agoRemove separators from dialogs
Matthias Clasen [Thu, 2 Sep 2010 13:11:23 +0000 (09:11 -0400)]
Remove separators from dialogs

It seems more reasonable to remove this feature than to keep fighting
off every separator that pops up by accident in a dialog.

15 years agoMake the MS Windows engine compile again.
Fridrich Štrba [Thu, 2 Sep 2010 13:02:48 +0000 (15:02 +0200)]
Make the MS Windows engine compile again.
Nevertheless, it is not working and needs a lot of fixing before
it can be useful.

15 years agoUpdate docs or GtkProgressBar api changes
Matthias Clasen [Thu, 2 Sep 2010 12:57:51 +0000 (08:57 -0400)]
Update docs or GtkProgressBar api changes

15 years agoRemove ::state-hint use
Matthias Clasen [Thu, 2 Sep 2010 12:56:20 +0000 (08:56 -0400)]
Remove ::state-hint use

This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.

15 years agoTable gymnastics
Matthias Clasen [Thu, 2 Sep 2010 11:59:03 +0000 (07:59 -0400)]
Table gymnastics

15 years agoAvoid potential DLL hijacking in ms-windows theme engine
Tor Lillqvist [Thu, 2 Sep 2010 11:30:59 +0000 (14:30 +0300)]
Avoid potential DLL hijacking in ms-windows theme engine

Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.

15 years agoAdapt to progressbar api change
Fridrich Štrba [Thu, 2 Sep 2010 07:41:55 +0000 (09:41 +0200)]
Adapt to progressbar api change

15 years agoExport one needed symbol
Fridrich Štrba [Thu, 2 Sep 2010 07:40:44 +0000 (09:40 +0200)]
Export one needed symbol

15 years agoEnhanced/Simplified GtkWrapBox api as per Havoc's comments.
Tristan Van Berkom [Thu, 2 Sep 2010 06:36:36 +0000 (15:36 +0900)]
Enhanced/Simplified GtkWrapBox api as per Havoc's comments.

Made an enum GtkWrapBoxPacking for the expand/fill horizontal/vertical
boolean options... changed xpadding/ypadding to be horizontal-padding
and vertical-padding for a more consistent api and better readablility.

15 years agoSome api changes for GtkWrapBox
Tristan Van Berkom [Thu, 2 Sep 2010 05:22:55 +0000 (14:22 +0900)]
Some api changes for GtkWrapBox

Ammended documentation for GTK_WRAP_BOX_SPREAD_EVEN and renamed
GTK_WRAP_BOX_SPREAD_BEGIN -> GTK_WRAP_BOX_SPREAD_START.

15 years agoFixed GtkNotebook to not consult GtkWidget->requisition directly
Tristan Van Berkom [Thu, 2 Sep 2010 04:42:50 +0000 (13:42 +0900)]
Fixed GtkNotebook to not consult GtkWidget->requisition directly

GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068.

15 years agoAdd information about progressbar migration
Matthias Clasen [Thu, 2 Sep 2010 04:05:32 +0000 (00:05 -0400)]
Add information about progressbar migration

Add a section to the migration guide about GtkProgressBar.
Also, actually include the wrap box docs.

15 years agoRemove now unused GtkProgressBarOrientation enum
Matthias Clasen [Thu, 2 Sep 2010 03:29:53 +0000 (23:29 -0400)]
Remove now unused GtkProgressBarOrientation enum

15 years agoConvert GtkCellRendererProgress to a GtkOrientable
Matthias Clasen [Thu, 2 Sep 2010 03:27:00 +0000 (23:27 -0400)]
Convert GtkCellRendererProgress to a GtkOrientable

And add an inverted property to it, too.

15 years agoAdapt testgtk progressbar test to api changes
Matthias Clasen [Thu, 2 Sep 2010 03:26:19 +0000 (23:26 -0400)]
Adapt testgtk progressbar test to api changes

15 years agoMake GtkProgressBar implement GtkOrientable
Matthias Clasen [Thu, 2 Sep 2010 03:25:22 +0000 (23:25 -0400)]
Make GtkProgressBar implement GtkOrientable

This also means that gtk_progress_bar_[sg]et_orientation are
gone.

15 years agoSplit the GtkProgressBar::orientation property
Matthias Clasen [Thu, 2 Sep 2010 03:24:20 +0000 (23:24 -0400)]
Split the GtkProgressBar::orientation property

We splict the orientation property into a GtkOrientation and a
'inverted' boolean, the same way that GtkRange is set up.

15 years agoRename GtkIconView::orientation property
Matthias Clasen [Thu, 2 Sep 2010 03:03:48 +0000 (23:03 -0400)]
Rename GtkIconView::orientation property

Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.

15 years ago Remove GtkRange::activate-slider
Matthias Clasen [Thu, 2 Sep 2010 02:09:44 +0000 (22:09 -0400)]
 Remove GtkRange::activate-slider

This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.

15 years agoRemove GtkRange::stepper-position-details
Matthias Clasen [Thu, 2 Sep 2010 01:48:44 +0000 (21:48 -0400)]
Remove GtkRange::stepper-position-details

This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.